vmx: add PML definition and feature detection
authorKai Huang <kai.huang@linux.intel.com>
Mon, 4 May 2015 10:12:11 +0000 (12:12 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 4 May 2015 10:12:11 +0000 (12:12 +0200)
commit8829e709e7d1c2cb871110ae6ad61d2fa213589e
treeaccb6be8e6ecc37696c05dba54ed26c09c8d7981
parent33db5c0bacbece3769a619161e133ebfb9378230
vmx: add PML definition and feature detection

The patch adds PML definition and feature detection. Note PML won't be detected
if PML is disabled from boot parameter. PML is also disabled in construct_vmcs,
as it will only be enabled when domain is switched to log dirty mode.

Signed-off-by: Kai Huang <kai.huang@linux.intel.com>
Acked-by: Tim Deegan <tim@xen.org>
Acked-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/hvm/vmx/vmcs.c
xen/include/asm-x86/hvm/vmx/vmcs.h
xen/include/asm-x86/hvm/vmx/vmx.h